<template>
  <div class="app-container">
    <el-card class="box-card">
      <el-tabs v-model="activeName">
        <el-tab-pane :label="'管理员管理'" :id="0" :lazy="true" name="admin" class="margin-10">
          <admin/>
        </el-tab-pane>
        <el-tab-pane :label="'角色管理'" :id="1" :lazy="true" name="role" class="margin-10">
          <role/>
        </el-tab-pane>
        <el-tab-pane :label="'菜单管理'" :id="2" :lazy="true" name="menu" class="margin-10">
          <Menu/>
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>
<script>
import Admin from '@/views/system/admin'
import Role from '@/views/system/role'
import Menu from '@/views/system/menu'

export default {
  name: 'SystemUser', components: { Admin, Role, Menu },
  data() {
    return {
      activeName: 'admin'
    }
  }
}
</script>
